package com.nb.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;
import lombok.Setter;

import java.time.LocalDateTime;

@Data
@Table(value = "lawyer",dataSource = "caseDS")
public class Lawyer {

    @Id(keyType = KeyType.Auto)
    private Long id;
    private Long userId;
    private String licenseNo;
    private String specialty;
    private Integer yearsOfPractice;
    private Double successRate;
    private String introduction;
    private String serviceArea;
    private Integer isCertified;
    private LocalDateTime certificationTime;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

}